import request from '@/utils/request'

export function addPage(data) {
  return request({
    url: '/page/add',
    method: 'post',
    data
  })
}

export function editPage(data) {
  return request({
    url: '/page/edit',
    method: 'post',
    data
  })
}

export function getSyncPageList(data) {
  return request({
    url: '/page/list-sync-page',
    method: 'post',
    data
  })
}

export function getDisplayPageList(data) {
  return request({
    url: '/page/list-display-page',
    method: 'post',
    data
  })
}
